import Vue from 'vue'
import App from './App.vue'
import router from './router'
//引用store
import store from './store'
//引入element
import './plugins/element.js'
import 'element-ui/lib/theme-chalk/index.css';

//css初始化
import './assets/css/reset.css'
//iconfont
import'./assets/iconfont/iconfont.css'
// excel导出
import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)

//引入路由守卫
import './router/router-permission'
//打印
import Print from 'vue-print-nb'
Vue.use(Print);


//echarts
//Vue.prototype.$echarts = echarts;
// Vue.prototype.$echarts = echarts;


import axios from '@/utils/http'
Vue.prototype.$axios = axios

Vue.config.productionTip = false;

//挂载网络请求
import api from './api'
Vue.prototype.$api = api
Vue.prototype.$host="http://123.60.134.119"




new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')